﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SampleCode.VirtualFS
{
    /// <summary>
    /// Arguments for ProgressChanged event
    /// </summary>
    public class FsProgressChangedEventArgs : EventArgs
    {
        /// <summary>
        /// A file name, that is currently processed
        /// </summary>
        public string ProgressDesc { get; private set; }

        internal FsProgressChangedEventArgs(string progressDesc)
        {
            ProgressDesc = progressDesc;
        }
    }

    /// <summary>
    /// A delegate for ProgressChanged event
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    /// <returns></returns>
    public delegate bool FsProgressChangedEventHandler(Object sender, FsProgressChangedEventArgs e);
}
